Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment Variable For STS Endpoint #1402

Merged
merged 6 commits into from
Jan 20, 2025
Merged

Conversation

ahmadalkhansa
Copy link
Contributor

By having modifiable environment variable, it is possible to perform authentication with storage solutions that implement Security Token Service (STS) and S3 API.

S3/Config.py Outdated Show resolved Hide resolved
@snosratiershad
Copy link
Contributor

@ahmadalkhansa, How do you think about adding sts_endpoint also to config file variables?

@ahmadalkhansa
Copy link
Contributor Author

Hi, thank you for your feedback! I've modified environ.get and added sts_endpoint to config file variables as requested.

S3/Config.py Outdated Show resolved Hide resolved
S3/Config.py Outdated Show resolved Hide resolved
@ahmadalkhansa
Copy link
Contributor Author

Thank you! I think the last commit should provide precendence to the environment variable without the need for a if statement.

@fviard fviard added this to the 2.4.1 milestone Jan 20, 2025
@fviard fviard merged commit 8ca6afe into s3tools:master Jan 20, 2025
@fviard
Copy link
Contributor

fviard commented Jan 20, 2025

thank you for the change, merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants